package org.edu.modules.sxjy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author leidq
 * @create 2022-04-08 11:50
 */
@TableName("ve_jw_cj_zhiye")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "职业考试成绩对象", description = "职业考试成绩")
public class VeJwCjZhiye implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("自增长主键ID")
    private Integer id;
    @Excel(name = "职业认证考试ID", width = 15.0D)
    @ApiModelProperty("职业认证考试ID")
    @Dict(dictTable = "ve_jw_ks_zhiye", dicCode = "id", dicText = "name")
    private Integer zyksid;
    @Excel(name = "院系ID", width = 15.0D)
    @ApiModelProperty("院系ID")
    private Integer falid;
    @Excel(name = "专业ID", width = 15.0D)
    @ApiModelProperty("专业ID")
    private Integer specid;
    @Excel(name = "学制ID", width = 15.0D)
    @ApiModelProperty("学制ID")
    private Integer xzid;
    @Excel(name = "年级ID", width = 15.0D)
    @ApiModelProperty("年级ID")
    private Integer gradeid;
    @Excel(name = "行政班ID", width = 15.0D)
    @ApiModelProperty("行政班ID")
    private Integer xzbid;
    @Excel(name = "学生ID", width = 15.0D)
    @ApiModelProperty("学生ID")
    private Integer stuid;
    @Excel(name = "学生用户ID", width = 15.0D)
    @ApiModelProperty("学生用户ID")
    private Integer userid;
    @Excel(name = "学号", width = 15.0D)
    @ApiModelProperty("学号")
    private String xh;
    @Excel(name = "学生姓名", width = 15.0D)
    @ApiModelProperty("学生姓名")
    private String xm;
    @Excel(name = "准考证号", width = 15.0D)
    @ApiModelProperty("准考证号")
    private String zkzh;
    @Excel(name = "证书号", width = 15.0D)
    @ApiModelProperty("证书号")
    private String zsh;
    @Excel(name = "理论成绩", width = 15.0D)
    @ApiModelProperty("理论成绩")
    private BigDecimal llcj;
    @Excel(name = "实操成绩", width = 15.0D)
    @ApiModelProperty("实操成绩")
    private BigDecimal sccj;
    @Excel(name = "考试成绩", width = 15.0D)
    @ApiModelProperty("考试成绩")
    private BigDecimal kscj;
    @Excel(name = "是否及格（0=不及格，1=及格）", width = 15.0D)
    @ApiModelProperty("是否及格（0=不及格，1=及格）")
    @Dict(dicCode = "zhiyescore")
    private Integer ispass;
    @Excel(name = "成绩录入人ID", width = 15.0D)
    @ApiModelProperty("成绩录入人ID")
    private Integer createuserid;
    @Excel(name = "成绩录入日期时间（原日期时间合并）", width = 15.0D, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("成绩录入日期时间（原日期时间合并）")
    private Date cjlrrqsj;
    @Excel(name = "状态（0=初始，1=已录入，2=已提交）", width = 15.0D)
    @ApiModelProperty("状态（0=初始，1=已录入，2=已提交）")
    private Integer status;
    @Excel(name = "终端ID", width = 15.0D)
    @ApiModelProperty("终端ID")
    private Integer terminalid;
    @Excel(name = "照片", width = 15.0D)
    @ApiModelProperty("照片")
    private String photo;
}
